const webpack = require('webpack')
const  merge  = require('webpack-merge')
const common = require('./webpack.common')

module.exports = merge(common, {
    mode:'development',
    devtool:'source-map',
    devServer:{
        port:3300,
        open:true,
        hot :true
    },
    plugins:[
        new webpack.HotModuleReplacementPlugin()
    ]
})